//
//  CSGXBaseNavigationController.m
//  CarSalesMS_GCX
//
//  Created by Tony on 2016/10/21.
//  Copyright © 2016年 Tony. All rights reserved.
//

#import "CSGXBaseNavigationController.h"
#import "CSNavBarView.h"

@interface CSGXBaseNavigationController ()

@end

@implementation CSGXBaseNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

//- (void)viewWillAppear:(BOOL)animated {
//    
//    // 设置导航栏背景颜色
//    self.navigationBar.barTintColor = kColorBar;
//}

- (void)setupUI {
    self.view.backgroundColor = [UIColor whiteColor];
    
//    // 去掉navigationBar底部的黑线
    [[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];
    [[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
    
}



@end
